{if $list}
<script>
  $(function(){
    //banner
    $('.banner-list li').soChange({
      thumbObj:'.banner-page li',
      thumbNowClass:'curr'
    });
  });
</script>
<div class="banner">
  <ul class="banner-list">
  {foreach $list as $k=>$v}
  <li><a href="{$v.link}"><img src="{_image($v.cover, big)}"></a></li>
  {/foreach}
  </ul>
  <ul class="banner-page clearfix">
  {foreach $list as $k=>$v}
    <li {if $k == 0}class="curr"{/if}>{$k+1}</li>
  {/foreach}
  </ul>
</div>
{/if}